<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 * Este template sirve para registrar los resultados del fixture seleccionado
 */

?>

<?php include_partial('fixture/assets') ?>
<div id="sf_admin_container">
<h1>Resultados</h1>
  <div id="sf_admin_header">
  <div id="sf_admin_content">
      <div id="sf_admin_list">


<?php include_partial('headerFixture',array('fixture' => $fixture))?>

    <table id="fixture_detallefixture">
    <thead>
        <tr>
            <th>Item</th>
            <th>Local</th>
            <th>Goles Local</th>
            <th>Goles Visitante</th>
            <th>Visitante</th>
            
        </tr>
    </thead>
    <tbody>
        <?php $e=1;foreach($EquiposDelFixture as $Detallefixture):?>
        <tr>
            <td><?php echo $e++?></td>
            <td><?php echo $Detallefixture->getEquipoRelatedByLocalId(); $id = $Detallefixture->getId()?></td>
            <?php if ($visitante = $Detallefixture->getEquipoRelatedByVisitanteId()):?>
            <td><input type="text" align="right" readonly="true" value="<?php echo $Detallefixture->getGolesLocal();?>" size="5" </td>
            <td><input type="text" align="right" readonly="true" value="<?php echo $Detallefixture->getGolesVisitante();?>" size="5"</td>
               <td><?php echo $visitante?></td>
            <?php else:?>
               <td>LIBRE</td>
               <td></td>
               <td></td>
               
            <?php endif;?>
        </tr>
        <?php endforeach?>
    </tbody>
</table>
<?php include_partial('botones')?>
 </div>
  </div>
  </div>
</div>